<?php 
/**
* 电脑类
*/
class Pc implements Usb,Lan
{
	public $config = array(
		'path'=>'upload',
		'name'=>'xbs',
		);

	public function getConfig()
	{
		var_dump($this->config);
	}
	public function sendData()
	{
		echo __METHOD__;
		echo "PC-usb可以传数据";
	}

	public function shangwang()
	{
		echo "PC-lan可以上网";
	}

	public function __isset($num)
	{
		var_dump("isset".$num);
	}

	public function __unset($num)
	{
		var_dump("unset".$num);
	}

	public function __get($num)
	{
		var_dump("__get=>>".$num);
	}

	public function __set($num,$value)
	{
		$this->config[$num]=$value;
	}

	public function __call($action,$arr)
	{
		var_dump("__call=>>".$action);

		var_dump($arr);
	}
}









 ?>